export const state = {  
    user:sessionStorage.getItem("user")?JSON.parse(sessionStorage.getItem("user")):{}
}
export const mutations = { 
    changeuser(state,obj){
        state.user=obj
    }
 }

export const getters = { 
    list(state){
       return state.user 
    }
 }



